<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>table边框</title>
  <style>
    table {
      border-collapse: collapse;
    }
    td,th {
      border: 1px solid;
      padding: 2px 4px;
    }
  </style>
</head>
<body>
  <table>
    <tr>
      <th>name</th>
      <th>age</th>
    </tr>
    <tr>
      <td>content</td>
      <td>content</td>
    </tr>
    <tr>
      <td>content</td>
      <td>content</td>
    </tr>
  </table>
</body>
</html>
